package com.lg.atp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lg.atp.entity.TblDataset;

public interface DatasetDao {
	
	public List<TblDataset> selectAllDataset(TblDataset dataset);

	public List<TblDataset> selectDataset(TblDataset dataset);
	
	public TblDataset selectDatasetById(@Param("id")Long id);
	
	public TblDataset getDatasetWithPara(@Param("id")Long id);
	
	public void saveDataset(TblDataset dataset);
	
	public void updateDataset(TblDataset dataset);
	
	public Long hasSameName(Map<String,Object> map);
	
	public Long hasSameCode(Map<String,Object> map);
}
